package com.finna.auth.service;

import com.finna.auth.entity.User;

import java.util.List;

public interface UserService {
    
    User createUser(User user);
    
    User updateUser(User user);
    
    boolean deleteUser(Long id);
    
    User getUserById(Long id);
    
    User getUserByUsername(String username);
    
    User getUserByEmail(String email);
    
    List<User> listUsers();
}